package pl.edu.mimuw.irs.core.model.analysis;

import pl.edu.mimuw.irs.core.model.design.processing.Resource;
import pl.edu.mimuw.irs.core.model.petrinet.Transition;

public class HireTransition extends Transition {

	// *** Attributes

	private Resource resource;
	public Resource getResource() {
		return resource;
	}
	public void setResource(Resource resource) {
		this.resource = resource;
	}
	
	// *** Constructors
	
	public HireTransition(Resource resource) {
		super(getPrefixedNewId("Hire" + resource.getName() + "_"));
		setResource(resource);
	}
	
	// *** Methods
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}
}
